package oop.packaging.same;

public class DS_samePackageDiffClass {

    public static void main(String[] args) {
        DecorateSymbol decorateSymbol = new DecorateSymbol();
        System.out.println(decorateSymbol.name_pub);
        System.out.println(decorateSymbol.name_pro);
        System.out.println(decorateSymbol.name_def);
        //私有属性只能在当前类中使用
//        System.out.println(decorateSymbol.name_pri);
    }
}
